<?php


namespace app\admin\controller;

use app\BaseController as BaseController;
use think\facade\Db;

class App extends BaseController
{
    /**
     * app下载
     * @author Mr.Li
     * @create 2021-09-03 16:15
     */
    public function download(){
        $url = Db::name('admin_setting')->where(['group' => 'admin_android_app_set','name' => 'app_path'])->value('value');
        $url && header("Location:$url");
        exit();
    }

}
